package com.xy.xymall.order.feign;

import com.xy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author XY
 * @version 1.0
 * @date 2021/1/18 15:30
 * @Description
 */
@FeignClient("xymall-product")
public interface ProductFeignService {

    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long id);
}
